package com.ruoyi.web.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.web.domain.Area;
import com.ruoyi.web.mapper.AreaMapper;
import com.ruoyi.web.service.IAreaService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
/**
 * <p>
 * 产地 服务实现类
 * </p>
 **/
@Service
public class IAreaServiceImpl extends ServiceImpl<AreaMapper, Area> implements IAreaService {
    @Resource
    AreaMapper areaMapper;

    @Override
    public List<Area> selectAreaList(Area area) {
        return areaMapper.selectAreaList(area);
    }

    @Override
    public int insertArea(Area area) {
        return areaMapper.insertArea(area);
    }
}
